<template>
    <div>
        <FullScreen style="width: 20px; height: 20px; transform: translateY(6px)" @click="toggle"/>
    </div>
</template>

<script setup>
import screenfull from 'screenfull'

// 切换全屏显示
const toggle = ()=>{
    screenfull.toggle()
}

</script>


<style lang="scss">

</style>